<%@ page language="java" contentType="text/html"
    pageEncoding="utf-8" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>

<body>
<%String [] num={"010020199601026929","010020199711126928"}; %>
<table width="780px" border="4px" cellspacing="0" cellpadding="0">
<tr style="text-align:center;"><td>身份证</td><td>生日</td></tr>
<tr><td><%=num[0] %></td><td><%=num[0].substring(6, 10)+"-"+num[0].substring(10, 12)+"-"+num[0].substring(12, 14) %></td></tr>
<tr><td><%=num[1] %></td><td><%=num[1].substring(6, 10)+"-"+num[1].substring(10, 12)+"-"+num[1].substring(12, 14) %></td></tr>
</table>
</body>
</html>